import request from './request.js';


export function login (data) {
  return request({
    url: '/login',
    method: 'POST',
    data
  })
}

export function getList (data) {
  return request({
    url: "http://127.0.0.1:5500/%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9/ceshi.json",
    method: "GET",
    params: data,
  });
}